package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.SystemMessages;
import cn.wolfcode.trip.base.query.SystemMessagesQueryObject;

import java.util.List;

public interface SystemMessagesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemMessages record);

    SystemMessages selectByPrimaryKey(Long id);

    List<SystemMessages> selectAll();

    int updateByPrimaryKey(SystemMessages record);

    List<SystemMessages> query(SystemMessagesQueryObject queryObject);

    void updateAllState(Long userId);
}